package com.dzwww.recommend.rule;

import java.util.TimeZone;
import javax.annotation.PostConstruct;
import org.apache.servicecomb.springboot.starter.provider.EnableServiceComb;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类
 * @author Administrator
 * 2019年7月12日
 */
@SpringBootApplication
@EnableServiceComb
public class ProjectrecommendruleApplication {
	
	//设置时区 
	@PostConstruct
	void started() {
		TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
	}

    public static void main(String[] args) {
         SpringApplication.run(ProjectrecommendruleApplication.class,args);
    }
}
